; Copyright 2011 Lenovo Electronics Co.,Ltd. All right reserved.
; TEST for SM INF installer

[Version]
Signature="$Chicago$"
Provider="LENOVO"
OEMID=LJ1680,SM
LayoutFile=test.inf
DriverVer=01/20/2003, 1.13
Class=NonDevice

; The Manufacturer section lists all of the manufacturers that we will
; display in the Dialog box

[Manufacturer]
%LENOVO%

[LENOVO]
%SM% = SMfiles

[SMfiles]
CopyFiles_Custom = SPanel,Lang,PanelMgr,MgrMLang,setlang,SharedFiles,swf
SharedSection=SharedFiles
AddReg=ExtraInfo

[SMfiles.NTamd64]
CopyFiles_Custom = SPanel,Lang,PanelMgr,MgrMLang,setlang,Shared32Files,Shared64Files,swf
SharedSection=Shared32Files, Shared64Files
AddReg=ExtraInfo

[SharedFiles]
msxml4.dll
msxml4a.dll
msxml4r.dll
msxml2.dll
msxml2a.dll
msxml2r.dll
ssdevm.dll
ssusbpn.dll

[Shared32Files]
msxml4.dll
msxml4a.dll
msxml4r.dll
msxml2.dll
msxml2a.dll
msxml2r.dll
ssdevm.dll
ssusbpn.dll

[Shared64Files]
ssdevm64.dll
ssusbp64.dll

[swf]
jam_inside.htm
jam_inside.swf
jam_tray1.htm
jam_tray1.swf
offline.htm
offline.swf
replace_toner.htm
replace_toner.swf

[Lang]
Opt_cp.trs
Opt_En.trs
panel_cp.trs
panel_en.trs

[SPanel]
CODE.dat
JobMon.dat
JobMon.exe
msimg32.dll
OPTS.dat
Printer.bmp
SecSNMPR.dll
SMBalloon.dll
SMnetwork.dat
SMOption.exe
SPanel.exe
spiomgr.dll
UsbIO.dll
default.xml
help.xml
caller64.exe
ScreenPrint.exe
gdiplus.dll
JobErr.exe

[MgrMLang]
Mgr_cp.trs
Mgr_En.trs

[PanelMgr]
SSMMgr.exe
SPaddon.exe
ssmmgr.dat
caller64.exe

[setlang]
set_cp.trs
set_en.trs

[DestinationDirs]
DefaultDestDir=32800,"LENOVO\LENOVO Laser Printer LJ1680\SPanel"


SharedFiles = 11, 
Shared32Files = 10, SysWOW64
Shared64Files = 11, 
regsvr=11,
swf=32800,"LENOVO\LENOVO Laser Printer LJ1680\SPanel\swf"
Lang=32800,"LENOVO\LENOVO Laser Printer LJ1680\SPanel\Lang"
panelMgr=10,LENOVO\PanelMgr
MgrMLang=10,LENOVO\PanelMgr\MgrMLang
setlang=32800,"LENOVO\LENOVO Laser Printer LJ1680\SPanel\setlang"
FileRootDir=32800,"LENOVO\LENOVO Laser Printer LJ1680"

[SourceDisksNames]
1 = %DISK_NAME%,,,

[SourceDisksFiles]
CODE.dat = 1,\SPanel
JobMon.dat = 1,\SPanel
JobMon.exe = 1,\SPanel
msimg32.dll = 1,\SPanel
OPTS.dat = 1,\SPanel
Printer.bmp = 1,\SPanel
SecSNMPR.dll = 1,\SPanel
SMBalloon.dll = 1,\SPanel
SMnetwork.dat = 1,\SPanel
SMOption.exe = 1,\SPanel
SPanel.exe = 1,\SPanel
spiomgr.dll = 1,\SPanel
UsbIO.dll = 1,\SPanel
default.xml = 1,\SPanel
help.xml = 1,\SPanel
caller64.exe = 1,\SPanel
ScreenPrint.exe = 1,\SPanel
gdiplus.dll = 1,\SPanel
JobErr.exe = 1,\SPanel
jam_inside.htm = 1,\Spanel\swf
jam_inside.swf = 1,\Spanel\swf
jam_tray1.htm = 1,\Spanel\swf
jam_tray1.swf = 1,\Spanel\swf
offline.htm = 1,\Spanel\swf
offline.swf = 1,\Spanel\swf
replace_toner.htm = 1,\Spanel\swf
replace_toner.swf = 1,\Spanel\swf
Opt_En.trs = 1,\SPanel\Lang
Opt_cp.trs = 1,\SPanel\Lang
panel_cp.trs = 1,\SPanel\Lang
panel_en.trs = 1,\SPanel\Lang
SSMMgr.exe = 1,\PanelMgr
ssmmgr.dat = 1,\PanelMgr
SPaddon.exe = 1,\PanelMgr
caller64.exe = 1,\PanelMgr
Mgr_cp.trs = 1,\PanelMgr\MgrMLang
Mgr_En.trs = 1,\PanelMgr\MgrMLang
set_cp.trs = 1,\setlang
set_en.trs = 1,\setlang
msxml4.dll = 1,\SPanel\Shared
msxml4a.dll = 1,\SPanel\Shared
msxml4r.dll = 1,\SPanel\Shared
msxml2.dll = 1,\SPanel\Shared
msxml2r.dll = 1,\SPanel\Shared
msxml2a.dll = 1,\SPanel\Shared
ssdevm.dll = 1,\SPanel\Shared
ssusbpn.dll = 1,\SPanel\Shared
ssdevm64.dll = 1,\SPanel\Shared
ssusbp64.dll = 1,\SPanel\Shared

[ShortcutIcons]
SSMMgr.exe = /smartpanel %LENOVO Laser Printer LJ1680%,PanelMgr,set_LC.trs, setlang, tooltip, SMARTPANEL

;ExeName = Parameters, SectionInINF, InfoFileName, DataFileLocatioin, SectionInOtherfile

[RefClass]
"LENOVO PanelMgr"

[ExecuteFile]
SSMMgr.exe = PanelMgr
regsvr32.exe = regsvr, @SharedFiles, msxml4.dll, " /s"
regsvr32.exe = regsvr, @SharedFiles, msxml2.dll, " /s"

[ExeInUninstall]
SPaddon.exe = PanelMgr


[ExtraInfo]
HKLM, "SOFTWARE\SPanel\LENOVO", Default, 0x0000000, "LENOVO Laser Printer LJ1680"
HKLM, "SOFTWARE\SPanel\LENOVO\LENOVO Laser Printer LJ1680", HTMLHelpPath, 0x0000000, @CSMHelp,SM
HKLM, "SOFTWARE\SPanel\LENOVO\LENOVO Laser Printer LJ1680", SMMgrPath, 0x00000000, @PanelMgr,ssmmgr.exe
HKLM, "SOFTWARE\SPanel\LENOVO\LENOVO Laser Printer LJ1680", SMOptionPath, 0x00000000, @Spanel,SMOption.exe
HKLM, "SOFTWARE\SPanel\LENOVO\LENOVO Laser Printer LJ1680", SMPath, 0x00000000, @Spanel,"Spanel.exe /Langmon"
HKLM, "SOFTWARE\SPanel\LENOVO\LENOVO Laser Printer LJ1680", MultiLangKey, 0x00000000,LJ1680
HKLM, "SOFTWARE\SPanel\LENOVO\LENOVO Laser Printer LJ1680", NotifyError, 0x00010001, 1
HKLM, "SOFTWARE\SPanel\LENOVO\LENOVO Laser Printer LJ1680", NotifyJobFinish, 0x00010001, 0
HKLM, "SOFTWARE\SPanel\LENOVO\LENOVO Laser Printer LJ1680", NotifyWaitStatus, 0x00010001, 1
HKLM, "SOFTWARE\SPanel\LENOVO\LENOVO Laser Printer LJ1680", NotifyBalloonShow, 0x00010001, 1
HKLM, "SOFTWARE\SPanel\LENOVO\LENOVO Laser Printer LJ1680", PollingInterval, 0x00010001, 1
HKLM, "SOFTWARE\SPanel\LENOVO\LENOVO Laser Printer LJ1680", PanelType, 0x00010001, 0
HKLM, "SOFTWARE\SPanel\LENOVO\LENOVO Laser Printer LJ1680", PrintingPrinter, 0x00000000, "LENOVO Laser Printer LJ1680"
HKLM, "SOFTWARE\SPanel\LENOVO\LENOVO Laser Printer LJ1680", SMClassName, 0x00000000, "SmartPanel_LJ1680"
HKLM, "SOFTWARE\SPanel\LENOVO\LENOVO Laser Printer LJ1680", SMEnabled, 0x00010001, 1
HKLM, "SOFTWARE\SPanel\LENOVO\LENOVO Laser Printer LJ1680", SMMgrClassName, 0x00000000, "LENOVO PanelMgr"
HKLM, "SOFTWARE\SPanel\LENOVO\LENOVO Laser Printer LJ1680", LaunchJobMonitor, 0x00010001, 0
HKLM, "SOFTWARE\SPanel\LENOVO\LENOVO Laser Printer LJ1680", JobMonPath, 0x00000000, @Spanel,Jobmon.exe
HKLM, "SOFTWARE\SPanel\LENOVO\LENOVO Laser Printer LJ1680", Toner_5, 0x00010001, 0
HKLM, "SOFTWARE\SPanel\LENOVO\LENOVO Laser Printer LJ1680", Toner_6, 0x00010001, 0
HKLM, "SOFTWARE\SPanel\LENOVO\LENOVO Laser Printer LJ1680", Toner_7, 0x00010001, 0
HKLM, "SOFTWARE\SPanel\LENOVO\LENOVO Laser Printer LJ1680", Toner_8, 0x00010001, 0
HKLM, "SOFTWARE\Microsoft\Windows\CurrentVersion\Run", LENOVO PanelMgr, 0x0000000, @PanelMgr, "ssmmgr.exe /autorun", 1

[ConditionedSection]
PanelMgr
MgrMLang

[ConditionalDel]
HKLM, "SOFTWARE\SPanel\LENOVO"

[Strings]
LENOVO = "LENOVO"
SM = "LENOVO Laser Printer LJ1680"
DISK_NAME = "LENOVO Smart Panel Installation Disk"